<template>
  <div class="footer">
    <!--<div class="links">
      <a href="https://pro.loacg.com/" target="_blank">Pro 首页</a>
      <a href="https://github.com/sendya/ant-design-pro-vue" target="_blank">
        <a-icon shopType="github" />
      </a>
      <a href="https://ant.design/">Ant Design</a>
      <a href="https://vue.ant.design/">Vue Antd</a>
    </div>-->
    <div class="copyright">
      Copyright
      <a-icon type="copyright" /> 2019 <span>思贝林出品</span>
      <span style="float: right">当前账套:{{companyName}}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'GlobalFooter',
  data () {
    return {
      companyName:this.$store.state.user.companyName
    }
  }
}
</script>

<style lang="less" scoped>
.footer {
  padding: 0 20px;
  margin: 20px 0 3px;
  display: none;
  border-top:1px solid #eeeeee;
  text-align: center;

  .links {
    margin-bottom: 8px;

    a {
      color: rgba(0, 0, 0, 0.45);

      &:hover {
        color: rgba(0, 0, 0, 0.65);
      }

      &:not(:last-child) {
        margin-right: 40px;
      }
    }
  }
  .copyright {
    color: rgba(0, 0, 0, 0.45);
    font-size: 14px;
  }
}
</style>
